<#import "/ftl/mainAdmin.ftl" as page>

<@page.mainTemplate styleSheet="channelIncomeCss" jsFile="channelIncomeJs" current="渠道收益">
  	<div class="page-content">
        <!-- BEGIN PAGE HEAD-->
        <div class="page-head">
            <!-- BEGIN PAGE TITLE -->
            <div class="page-title">
                <h1>渠道收益
                    <small>渠道收益列表页面</small>
                </h1>
            </div>
            <!-- END PAGE TITLE -->
        </div>
        <!-- END PAGE HEAD-->
        <!-- BEGIN PAGE BREADCRUMB -->
        <ul class="page-breadcrumb breadcrumb">
            <li>
                <a href="${context}/base/index_ftl">首页</a>
                <i class="fa fa-circle"></i>
            </li>
            <li>
                <span class="active">渠道收益列表</span>
            </li>
        </ul>
        <!-- END PAGE BREADCRUMB -->
        <!-- BEGIN PAGE BASE CONTENT -->
        <div class="row">
             <div class="col-md-12 col-sm-12 search-form">
                   <form id="searchForm" action="javascript:" method="post" name="searchForm">
                	<div class="search-item input-group col-md-4 col-sm-4">
                         <span class="input-group-addon">客户名称</span>
                         <input type="text" class="form-control" placeholder="客户名称" name="company_name"> 
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                         <span class="input-group-addon">年度</span>
                         <select name="year_" class="form-control input-inline">
                             <option value="">请选择</option>
                             <option value="2015">2015</option>
                             <option value="2016">2016</option>
                             <option value="2017">2017</option>
                             <option value="2018">2018</option>
                             <option value="2019">2019</option>
                         </select> 
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                         <span class="input-group-addon">季度</span>
                         <select name="quarter_" class="form-control input-inline">
                             <option value="">请选择</option>
                             <option value="1">第一季度</option>
                             <option value="2">第二季度</option>
                             <option value="3">第三季度</option>
                             <option value="4">第四季度</option>
                         </select> 
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                         <span class="input-group-addon">客户属性</span>
                         <select name="channel_str" class="form-control input-inline">
                             <option value="channel">渠道</option>
                             <option value="channelConsumer">渠道客户</option>
                            
                         </select> 
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">所属渠道</span>
                        <select class="form-control input-inline" name="channel" id="channel">
                        </select>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">统计日期</span>
                        <div>
                            <div class="input-group date date-picker" data-date-format="dd-mm-yyyy" >
                                <input type="text" class="form-control" readonly="" name="data_create_date">
                                <span class="input-group-btn">
                                    <button class="btn default" type="button">
                                        <i class="fa fa-calendar"></i>
                                    </button>
                                </span>
                            </div>
                        </div>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">结算日期</span>
                        <div>
                            <div class="input-group date date-picker" data-date-format="dd-mm-yyyy">
                                <input type="text" class="form-control" readonly="" name="date_settle">
                                <span class="input-group-btn">
                                    <button class="btn default" type="button">
                                        <i class="fa fa-calendar"></i>
                                    </button>
                                </span>
                            </div>
                        </div>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">季度收益</span>
                        <input type="text" class="form-control amount-input" placeholder="最小金额" name="quarter_income_small"> 
                        <input type="text" class="form-control amount-input" placeholder="最大金额" name="quarter_income_max"> 
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <a href="javascript:;" class="btn btn-success" name="search">查询</a>
                        <a href="javascript:;" type="reset" class="btn btn-default " name="reset">清空</a>
                    </div>
                </form>
              </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <!-- BEGIN EXAMPLE TABLE PORTLET-->
                <div class="portlet light bordered">
                    <div class="portlet-body plugin-special">
                        <table class="table table-striped table-hover table-bordered" id="channelIncomeBody">
                            <thead>
                                <tr>
                                    <th> 客户名称 </th>
                                    <th> 年度 </th>
                                    <th> 季度  </th>
                                    <th> 客户属性  </th>
                                    <th> 所属渠道  </th>
                                    <th> 季度计息份额 </th>
                                    <th> 季度收益</th>
                                    <th> 统计日期  </th>
                                    <th> 是否结算  </th>
                                    <th> 结算日期 </th>
                                    <th> 操作  </th>
                                </tr>
                            </thead>
                            <tbody>
                               
                            </tbody>
                        </table>
                    </div>
                </div>
                <!-- END EXAMPLE TABLE PORTLET-->
            </div>
        </div>
        <!-- END PAGE BASE CONTENT -->
    </div>
</@page.mainTemplate>